import { Button, message } from 'antd';
import React from 'react';

const success = () => {
  message.success('已经收到您购买的意向，我们将尽快联系作者', 2);
};

const Mggg: React.FC = () => <Button onClick={success} className='Btn'>我想购买</Button>;

export default Mggg;